package com.dragon.modules.yuegou.query.wallet;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.wallet.Mem2merAlipayTradeEntity;
import com.dragon.modules.yuegou.enums.TradeStatus;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员到商户的支付宝交易（会员向商户支付） 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-06-03 15:20:35
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class Mem2merAlipayTradeQuery extends Mem2merAlipayTradeEntity implements Query<Mem2merAlipayTradeEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 会员ID（冗余）查询条件 */
	@JsonUnwrapped(prefix = "memberId")
	private Condition<String> memberIdCondition;

    /** 会员钱包ID查询条件 */
	@JsonUnwrapped(prefix = "memberWalletId")
	private Condition<String> memberWalletIdCondition;

    /** 商户ID（冗余）查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 商户钱包ID查询条件 */
	@JsonUnwrapped(prefix = "merchantWalletId")
	private Condition<String> merchantWalletIdCondition;

    /** 订单号查询条件 */
	@JsonUnwrapped(prefix = "orderNo")
	private Condition<String> orderNoCondition;

    /** 交易微信金额查询条件 */
	@JsonUnwrapped(prefix = "amount")
	private Condition<BigDecimal> amountCondition;

    /** 交易前会员支付宝余额查询条件 */
	@JsonUnwrapped(prefix = "memberAmountBefore")
	private Condition<BigDecimal> memberAmountBeforeCondition;

    /** 交易后会员支付宝余额查询条件 */
	@JsonUnwrapped(prefix = "memberAmountAfter")
	private Condition<BigDecimal> memberAmountAfterCondition;

    /** 交易前商户微信余额查询条件 */
	@JsonUnwrapped(prefix = "merchantAmountBefore")
	private Condition<BigDecimal> merchantAmountBeforeCondition;

    /** 交易后商户微信余额查询条件 */
	@JsonUnwrapped(prefix = "merchantAmountAfter")
	private Condition<BigDecimal> merchantAmountAfterCondition;

    /** 确认交易前商户可提现微信余额（确认交易时设值）查询条件 */
	@JsonUnwrapped(prefix = "merchantWithdrawableAmountBefore")
	private Condition<BigDecimal> merchantWithdrawableAmountBeforeCondition;

    /** 确认交易后商户可提现微信余额（确认交易时设值）查询条件 */
	@JsonUnwrapped(prefix = "merchantWithdrawableAmountAfter")
	private Condition<BigDecimal> merchantWithdrawableAmountAfterCondition;

    /** [全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件 */
	@JsonUnwrapped(prefix = "tradeStatus")
	private Condition<TradeStatus> tradeStatusCondition;

    /** 交易时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 入账时间查询条件 */
	@JsonUnwrapped(prefix = "incomeTime")
	private Condition<LocalDateTime> incomeTimeCondition;

    /** 确认时间查询条件 */
	@JsonUnwrapped(prefix = "confirmedTime")
	private Condition<LocalDateTime> confirmedTimeCondition;

    /** 中止时间查询条件 */
	@JsonUnwrapped(prefix = "stoppedTime")
	private Condition<LocalDateTime> stoppedTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public Mem2merAlipayTradeQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public Mem2merAlipayTradeQuery(Mem2merAlipayTradeEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public Mem2merAlipayTradeQuery(Mem2merAlipayTradeQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.memberIdCondition != null) {
			this.memberIdCondition = other.memberIdCondition.copy();
		}
		if(other.memberWalletIdCondition != null) {
			this.memberWalletIdCondition = other.memberWalletIdCondition.copy();
		}
		if(other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if(other.merchantWalletIdCondition != null) {
			this.merchantWalletIdCondition = other.merchantWalletIdCondition.copy();
		}
		if(other.orderNoCondition != null) {
			this.orderNoCondition = other.orderNoCondition.copy();
		}
		if(other.amountCondition != null) {
			this.amountCondition = other.amountCondition.copy();
		}
		if(other.memberAmountBeforeCondition != null) {
			this.memberAmountBeforeCondition = other.memberAmountBeforeCondition.copy();
		}
		if(other.memberAmountAfterCondition != null) {
			this.memberAmountAfterCondition = other.memberAmountAfterCondition.copy();
		}
		if(other.merchantAmountBeforeCondition != null) {
			this.merchantAmountBeforeCondition = other.merchantAmountBeforeCondition.copy();
		}
		if(other.merchantAmountAfterCondition != null) {
			this.merchantAmountAfterCondition = other.merchantAmountAfterCondition.copy();
		}
		if(other.merchantWithdrawableAmountBeforeCondition != null) {
			this.merchantWithdrawableAmountBeforeCondition = other.merchantWithdrawableAmountBeforeCondition.copy();
		}
		if(other.merchantWithdrawableAmountAfterCondition != null) {
			this.merchantWithdrawableAmountAfterCondition = other.merchantWithdrawableAmountAfterCondition.copy();
		}
		if(other.tradeStatusCondition != null) {
			this.tradeStatusCondition = other.tradeStatusCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(Mem2merAlipayTradeQuery other){
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.incomeTimeCondition != null) {
			this.incomeTimeCondition = other.incomeTimeCondition.copy();
		}
		if(other.confirmedTimeCondition != null) {
			this.confirmedTimeCondition = other.confirmedTimeCondition.copy();
		}
		if(other.stoppedTimeCondition != null) {
			this.stoppedTimeCondition = other.stoppedTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<Mem2merAlipayTradeEntity> toQueryWrapper() {
		QueryWrapper<Mem2merAlipayTradeEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (memberIdCondition != null) {
			memberIdCondition.toWrapper(wrapper, COL_MEMBER_ID);
		}
		if (memberWalletIdCondition != null) {
			memberWalletIdCondition.toWrapper(wrapper, COL_MEMBER_WALLET_ID);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (merchantWalletIdCondition != null) {
			merchantWalletIdCondition.toWrapper(wrapper, COL_MERCHANT_WALLET_ID);
		}
		if (orderNoCondition != null) {
			orderNoCondition.toWrapper(wrapper, COL_ORDER_NO);
		}
		if (amountCondition != null) {
			amountCondition.toWrapper(wrapper, COL_AMOUNT);
		}
		if (memberAmountBeforeCondition != null) {
			memberAmountBeforeCondition.toWrapper(wrapper, COL_MEMBER_AMOUNT_BEFORE);
		}
		if (memberAmountAfterCondition != null) {
			memberAmountAfterCondition.toWrapper(wrapper, COL_MEMBER_AMOUNT_AFTER);
		}
		if (merchantAmountBeforeCondition != null) {
			merchantAmountBeforeCondition.toWrapper(wrapper, COL_MERCHANT_AMOUNT_BEFORE);
		}
		if (merchantAmountAfterCondition != null) {
			merchantAmountAfterCondition.toWrapper(wrapper, COL_MERCHANT_AMOUNT_AFTER);
		}
		if (merchantWithdrawableAmountBeforeCondition != null) {
			merchantWithdrawableAmountBeforeCondition.toWrapper(wrapper, COL_MERCHANT_WITHDRAWABLE_AMOUNT_BEFORE);
		}
		if (merchantWithdrawableAmountAfterCondition != null) {
			merchantWithdrawableAmountAfterCondition.toWrapper(wrapper, COL_MERCHANT_WITHDRAWABLE_AMOUNT_AFTER);
		}
		if (tradeStatusCondition != null) {
			tradeStatusCondition.toWrapper(wrapper, COL_TRADE_STATUS);
		}
		return getQueryWrapper(wrapper);
	}
	private QueryWrapper<Mem2merAlipayTradeEntity> getQueryWrapper(QueryWrapper<Mem2merAlipayTradeEntity> wrapper){
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (incomeTimeCondition != null) {
			incomeTimeCondition.toWrapper(wrapper, COL_INCOME_TIME);
		}
		if (confirmedTimeCondition != null) {
			confirmedTimeCondition.toWrapper(wrapper, COL_CONFIRMED_TIME);
		}
		if (stoppedTimeCondition != null) {
			stoppedTimeCondition.toWrapper(wrapper, COL_STOPPED_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回会员ID（冗余）查询条件
	 * 
	 * @return memberIdCondition 会员ID（冗余）查询条件
	 */
	public Condition<String> memberId() {
		this.memberIdCondition = new Condition<>();
		return this.memberIdCondition;
	}
	
	/**
	 * 获取会员ID（冗余）查询条件
	 * 
	 * @return memberIdCondition 会员ID（冗余）查询条件
	 */
	public Condition<String> getMemberIdCondition() {
		return memberIdCondition;
	}

	/**
	 * 设置会员ID（冗余）查询条件
	 * 
	 * @param memberIdCondition 会员ID（冗余）查询条件
	 */
	public void setMemberIdCondition(Condition<String> memberIdCondition) {
		this.memberIdCondition = memberIdCondition;
	}

	/**
	 * 构造并返回会员钱包ID查询条件
	 * 
	 * @return memberWalletIdCondition 会员钱包ID查询条件
	 */
	public Condition<String> memberWalletId() {
		this.memberWalletIdCondition = new Condition<>();
		return this.memberWalletIdCondition;
	}
	
	/**
	 * 获取会员钱包ID查询条件
	 * 
	 * @return memberWalletIdCondition 会员钱包ID查询条件
	 */
	public Condition<String> getMemberWalletIdCondition() {
		return memberWalletIdCondition;
	}

	/**
	 * 设置会员钱包ID查询条件
	 * 
	 * @param memberWalletIdCondition 会员钱包ID查询条件
	 */
	public void setMemberWalletIdCondition(Condition<String> memberWalletIdCondition) {
		this.memberWalletIdCondition = memberWalletIdCondition;
	}

	/**
	 * 构造并返回商户ID（冗余）查询条件
	 * 
	 * @return merchantIdCondition 商户ID（冗余）查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商户ID（冗余）查询条件
	 * 
	 * @return merchantIdCondition 商户ID（冗余）查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商户ID（冗余）查询条件
	 * 
	 * @param merchantIdCondition 商户ID（冗余）查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回商户钱包ID查询条件
	 * 
	 * @return merchantWalletIdCondition 商户钱包ID查询条件
	 */
	public Condition<String> merchantWalletId() {
		this.merchantWalletIdCondition = new Condition<>();
		return this.merchantWalletIdCondition;
	}
	
	/**
	 * 获取商户钱包ID查询条件
	 * 
	 * @return merchantWalletIdCondition 商户钱包ID查询条件
	 */
	public Condition<String> getMerchantWalletIdCondition() {
		return merchantWalletIdCondition;
	}

	/**
	 * 设置商户钱包ID查询条件
	 * 
	 * @param merchantWalletIdCondition 商户钱包ID查询条件
	 */
	public void setMerchantWalletIdCondition(Condition<String> merchantWalletIdCondition) {
		this.merchantWalletIdCondition = merchantWalletIdCondition;
	}

	/**
	 * 构造并返回订单号查询条件
	 * 
	 * @return orderNoCondition 订单号查询条件
	 */
	public Condition<String> orderNo() {
		this.orderNoCondition = new Condition<>();
		return this.orderNoCondition;
	}
	
	/**
	 * 获取订单号查询条件
	 * 
	 * @return orderNoCondition 订单号查询条件
	 */
	public Condition<String> getOrderNoCondition() {
		return orderNoCondition;
	}

	/**
	 * 设置订单号查询条件
	 * 
	 * @param orderNoCondition 订单号查询条件
	 */
	public void setOrderNoCondition(Condition<String> orderNoCondition) {
		this.orderNoCondition = orderNoCondition;
	}

	/**
	 * 构造并返回交易微信金额查询条件
	 * 
	 * @return amountCondition 交易微信金额查询条件
	 */
	public Condition<BigDecimal> amount() {
		this.amountCondition = new Condition<>();
		return this.amountCondition;
	}
	
	/**
	 * 获取交易微信金额查询条件
	 * 
	 * @return amountCondition 交易微信金额查询条件
	 */
	public Condition<BigDecimal> getAmountCondition() {
		return amountCondition;
	}

	/**
	 * 设置交易微信金额查询条件
	 * 
	 * @param amountCondition 交易微信金额查询条件
	 */
	public void setAmountCondition(Condition<BigDecimal> amountCondition) {
		this.amountCondition = amountCondition;
	}

	/**
	 * 构造并返回交易前会员支付宝余额查询条件
	 * 
	 * @return memberAmountBeforeCondition 交易前会员支付宝余额查询条件
	 */
	public Condition<BigDecimal> memberAmountBefore() {
		this.memberAmountBeforeCondition = new Condition<>();
		return this.memberAmountBeforeCondition;
	}
	
	/**
	 * 获取交易前会员支付宝余额查询条件
	 * 
	 * @return memberAmountBeforeCondition 交易前会员支付宝余额查询条件
	 */
	public Condition<BigDecimal> getMemberAmountBeforeCondition() {
		return memberAmountBeforeCondition;
	}

	/**
	 * 设置交易前会员支付宝余额查询条件
	 * 
	 * @param memberAmountBeforeCondition 交易前会员支付宝余额查询条件
	 */
	public void setMemberAmountBeforeCondition(Condition<BigDecimal> memberAmountBeforeCondition) {
		this.memberAmountBeforeCondition = memberAmountBeforeCondition;
	}

	/**
	 * 构造并返回交易后会员支付宝余额查询条件
	 * 
	 * @return memberAmountAfterCondition 交易后会员支付宝余额查询条件
	 */
	public Condition<BigDecimal> memberAmountAfter() {
		this.memberAmountAfterCondition = new Condition<>();
		return this.memberAmountAfterCondition;
	}
	
	/**
	 * 获取交易后会员支付宝余额查询条件
	 * 
	 * @return memberAmountAfterCondition 交易后会员支付宝余额查询条件
	 */
	public Condition<BigDecimal> getMemberAmountAfterCondition() {
		return memberAmountAfterCondition;
	}

	/**
	 * 设置交易后会员支付宝余额查询条件
	 * 
	 * @param memberAmountAfterCondition 交易后会员支付宝余额查询条件
	 */
	public void setMemberAmountAfterCondition(Condition<BigDecimal> memberAmountAfterCondition) {
		this.memberAmountAfterCondition = memberAmountAfterCondition;
	}

	/**
	 * 构造并返回交易前商户微信余额查询条件
	 * 
	 * @return merchantAmountBeforeCondition 交易前商户微信余额查询条件
	 */
	public Condition<BigDecimal> merchantAmountBefore() {
		this.merchantAmountBeforeCondition = new Condition<>();
		return this.merchantAmountBeforeCondition;
	}
	
	/**
	 * 获取交易前商户微信余额查询条件
	 * 
	 * @return merchantAmountBeforeCondition 交易前商户微信余额查询条件
	 */
	public Condition<BigDecimal> getMerchantAmountBeforeCondition() {
		return merchantAmountBeforeCondition;
	}

	/**
	 * 设置交易前商户微信余额查询条件
	 * 
	 * @param merchantAmountBeforeCondition 交易前商户微信余额查询条件
	 */
	public void setMerchantAmountBeforeCondition(Condition<BigDecimal> merchantAmountBeforeCondition) {
		this.merchantAmountBeforeCondition = merchantAmountBeforeCondition;
	}

	/**
	 * 构造并返回交易后商户微信余额查询条件
	 * 
	 * @return merchantAmountAfterCondition 交易后商户微信余额查询条件
	 */
	public Condition<BigDecimal> merchantAmountAfter() {
		this.merchantAmountAfterCondition = new Condition<>();
		return this.merchantAmountAfterCondition;
	}
	
	/**
	 * 获取交易后商户微信余额查询条件
	 * 
	 * @return merchantAmountAfterCondition 交易后商户微信余额查询条件
	 */
	public Condition<BigDecimal> getMerchantAmountAfterCondition() {
		return merchantAmountAfterCondition;
	}

	/**
	 * 设置交易后商户微信余额查询条件
	 * 
	 * @param merchantAmountAfterCondition 交易后商户微信余额查询条件
	 */
	public void setMerchantAmountAfterCondition(Condition<BigDecimal> merchantAmountAfterCondition) {
		this.merchantAmountAfterCondition = merchantAmountAfterCondition;
	}

	/**
	 * 构造并返回确认交易前商户可提现微信余额（确认交易时设值）查询条件
	 * 
	 * @return merchantWithdrawableAmountBeforeCondition 确认交易前商户可提现微信余额（确认交易时设值）查询条件
	 */
	public Condition<BigDecimal> merchantWithdrawableAmountBefore() {
		this.merchantWithdrawableAmountBeforeCondition = new Condition<>();
		return this.merchantWithdrawableAmountBeforeCondition;
	}
	
	/**
	 * 获取确认交易前商户可提现微信余额（确认交易时设值）查询条件
	 * 
	 * @return merchantWithdrawableAmountBeforeCondition 确认交易前商户可提现微信余额（确认交易时设值）查询条件
	 */
	public Condition<BigDecimal> getMerchantWithdrawableAmountBeforeCondition() {
		return merchantWithdrawableAmountBeforeCondition;
	}

	/**
	 * 设置确认交易前商户可提现微信余额（确认交易时设值）查询条件
	 * 
	 * @param merchantWithdrawableAmountBeforeCondition 确认交易前商户可提现微信余额（确认交易时设值）查询条件
	 */
	public void setMerchantWithdrawableAmountBeforeCondition(Condition<BigDecimal> merchantWithdrawableAmountBeforeCondition) {
		this.merchantWithdrawableAmountBeforeCondition = merchantWithdrawableAmountBeforeCondition;
	}

	/**
	 * 构造并返回确认交易后商户可提现微信余额（确认交易时设值）查询条件
	 * 
	 * @return merchantWithdrawableAmountAfterCondition 确认交易后商户可提现微信余额（确认交易时设值）查询条件
	 */
	public Condition<BigDecimal> merchantWithdrawableAmountAfter() {
		this.merchantWithdrawableAmountAfterCondition = new Condition<>();
		return this.merchantWithdrawableAmountAfterCondition;
	}
	
	/**
	 * 获取确认交易后商户可提现微信余额（确认交易时设值）查询条件
	 * 
	 * @return merchantWithdrawableAmountAfterCondition 确认交易后商户可提现微信余额（确认交易时设值）查询条件
	 */
	public Condition<BigDecimal> getMerchantWithdrawableAmountAfterCondition() {
		return merchantWithdrawableAmountAfterCondition;
	}

	/**
	 * 设置确认交易后商户可提现微信余额（确认交易时设值）查询条件
	 * 
	 * @param merchantWithdrawableAmountAfterCondition 确认交易后商户可提现微信余额（确认交易时设值）查询条件
	 */
	public void setMerchantWithdrawableAmountAfterCondition(Condition<BigDecimal> merchantWithdrawableAmountAfterCondition) {
		this.merchantWithdrawableAmountAfterCondition = merchantWithdrawableAmountAfterCondition;
	}

	/**
	 * 构造并返回[全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件
	 * 
	 * @return tradeStatusCondition [全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件
	 */
	public Condition<TradeStatus> tradeStatus() {
		this.tradeStatusCondition = new Condition<>();
		return this.tradeStatusCondition;
	}
	
	/**
	 * 获取[全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件
	 * 
	 * @return tradeStatusCondition [全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件
	 */
	public Condition<TradeStatus> getTradeStatusCondition() {
		return tradeStatusCondition;
	}

	/**
	 * 设置[全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件
	 * 
	 * @param tradeStatusCondition [全局枚举]交易状态：0-会员支出-MEMBER_OUT、1-商户入账-MERCHANT_IN、2-交易确认(进入商户可提现账户)-CONFIRMED、3-中止交易(退款)-STOPPED查询条件
	 */
	public void setTradeStatusCondition(Condition<TradeStatus> tradeStatusCondition) {
		this.tradeStatusCondition = tradeStatusCondition;
	}

	/**
	 * 构造并返回交易时间查询条件
	 * 
	 * @return createdTimeCondition 交易时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取交易时间查询条件
	 * 
	 * @return createdTimeCondition 交易时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置交易时间查询条件
	 * 
	 * @param createdTimeCondition 交易时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回入账时间查询条件
	 * 
	 * @return incomeTimeCondition 入账时间查询条件
	 */
	public Condition<LocalDateTime> incomeTime() {
		this.incomeTimeCondition = new Condition<>();
		return this.incomeTimeCondition;
	}
	
	/**
	 * 获取入账时间查询条件
	 * 
	 * @return incomeTimeCondition 入账时间查询条件
	 */
	public Condition<LocalDateTime> getIncomeTimeCondition() {
		return incomeTimeCondition;
	}

	/**
	 * 设置入账时间查询条件
	 * 
	 * @param incomeTimeCondition 入账时间查询条件
	 */
	public void setIncomeTimeCondition(Condition<LocalDateTime> incomeTimeCondition) {
		this.incomeTimeCondition = incomeTimeCondition;
	}

	/**
	 * 构造并返回确认时间查询条件
	 * 
	 * @return confirmedTimeCondition 确认时间查询条件
	 */
	public Condition<LocalDateTime> confirmedTime() {
		this.confirmedTimeCondition = new Condition<>();
		return this.confirmedTimeCondition;
	}
	
	/**
	 * 获取确认时间查询条件
	 * 
	 * @return confirmedTimeCondition 确认时间查询条件
	 */
	public Condition<LocalDateTime> getConfirmedTimeCondition() {
		return confirmedTimeCondition;
	}

	/**
	 * 设置确认时间查询条件
	 * 
	 * @param confirmedTimeCondition 确认时间查询条件
	 */
	public void setConfirmedTimeCondition(Condition<LocalDateTime> confirmedTimeCondition) {
		this.confirmedTimeCondition = confirmedTimeCondition;
	}

	/**
	 * 构造并返回中止时间查询条件
	 * 
	 * @return stoppedTimeCondition 中止时间查询条件
	 */
	public Condition<LocalDateTime> stoppedTime() {
		this.stoppedTimeCondition = new Condition<>();
		return this.stoppedTimeCondition;
	}
	
	/**
	 * 获取中止时间查询条件
	 * 
	 * @return stoppedTimeCondition 中止时间查询条件
	 */
	public Condition<LocalDateTime> getStoppedTimeCondition() {
		return stoppedTimeCondition;
	}

	/**
	 * 设置中止时间查询条件
	 * 
	 * @param stoppedTimeCondition 中止时间查询条件
	 */
	public void setStoppedTimeCondition(Condition<LocalDateTime> stoppedTimeCondition) {
		this.stoppedTimeCondition = stoppedTimeCondition;
	}

}
